import { defHttp } from '/@/utils/http/axios'

enum Api {
	hisget = 'His/HisData',
	hissub = 'His/Sync',
}

export const hisGet = (params) => {
	return defHttp.get({ url: Api.hisget, params })
}

export const hisSub = (type, data) => {
	return defHttp.post({ url: Api.hissub + '/' + type, data })
}
